//
//  UserInfoCell.m
//  血氧宝
//
//  Created by YFB on 15/4/7.
//  Copyright (c) 2015年 上海贝瑞电子科技. All rights reserved.
//

#import "UserInfoCell.h"
#import "FitHeader.h"
@implementation UserInfoCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _userImageView = [[UIImageView alloc] initWithFrame:CGRectMake(20 *FitWidth, 15 *FitHeight, 49 *FitWidth, 49 *FitHeight)];
    //    _userImageView.image = [UIImage imageNamed:@"navigation001@2x"];
        _userImageView.layer.masksToBounds = YES;
        _userImageView.layer.cornerRadius = 24.5;
        [self.contentView addSubview:_userImageView];
        
        _userName = [[UILabel alloc]initWithFrame:CGRectMake(90 *FitWidth, 32 *FitWidth, 100 *FitWidth, 30 *FitHeight)];
        _userName.textColor = [UIColor whiteColor];
        _userName.textAlignment = 0;
        _userName.text = @"sdhfaekrjg";
        [self.contentView addSubview:_userName];
        
        _lineView = [[UIImageView alloc]initWithFrame:CGRectMake(0, _userImageView.frame.origin.y + _userImageView.frame.size.height + 16 *FitHeight, 170 *FitWidth, 1 *FitHeight)];
        _lineView.alpha = 0.65;
     //   _lineView.image = [UIImage imageNamed:@"navigation005@2x"];
        [self.contentView addSubview:_lineView];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
